package cn.dansj.common.request.configure;

import org.aspectj.lang.ProceedingJoinPoint;

public class DefaultBeanConfiguration {
    /**
     * 默认的日志记录方法
     */
    public static LoggerRecord logRecord() {
        return ProceedingJoinPoint::proceed;
    }

    /**
     * 默认的权限校验方法
     */
    public static PermissionFilter permissionFilter() {
        return (request, method, permission, pageNotFound) -> true;
    }
}
